﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;

namespace Middleware
{
    public abstract class RequestHandler
    {
        public const int MAX_BYTES_PER_MESSAGE = 1024 * 5000;

        protected IPEndPoint _endpoitAddress { get; set; }

        public RequestHandler(string ip, int port) {
            _endpoitAddress = new IPEndPoint(IPAddress.Parse(ip), port);
        }
    }
}
